export const state = {
  classify: []

}

export const mutations = {

  setClassify(state, arr) {
    state.classify = arr
    console.log(state.classify, '仓库数据')
  }

}

export const actions = {
  saveClassify({ commit }, arr) {
    commit('setClassify', arr)
  }
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
